<form class="form" #f="ngForm" (ngSubmit)="onSubmit($event, f)">
  <h3 mat-dialog-title>邀请组员</h3>
  <div mat-dialog-content>
    <app-chips-list
      [label]="'邀请成员'"
      name='members'
      [(ngModel)]="members">

    </app-chips-list>
    <!-- <mat-form-field class="full-width">
      <input matInput type="text" placeholder="组员姓名" [matAutocomplete]="autoMembers" />
    </mat-form-field> -->
  </div>
  <div mat-dialog-actions>
    <button type="submit" [disabled]="!f.valid" mat-raised-button color="primary">保存</button>
    <button type="button" mat-button mat-dialog-close>关闭</button>
  </div>

</form>

